MercadoPago\Woocommerce\Gateways\PixGateway A

Total Complexity 63
Dependencies 9
Dependents 0
Total lines 740
Lines of code 446
Logical lines of code 176
Comment lines 135
Methods 27
Properties 1

Methods 27

Method Rating Maintainability Complexity Lines of code
renderOrderReceivedTemplate()
A
47 7 36
process_payment()
S
48 6 34
renderThankYouPage()
S
45 4 43
generatePixImage()
S
58 5 18
sellerWithPixFields()
S
42 1 60
fetchPaymentData()
S
57 4 15
verifyPixPaymentResponse()
S
52 3 25
sellerWithoutPixFields()
S
49 2 33
isAvailable()
S
64 4 9
handlePaymentStatus()
S
62 3 13
handleApprovedPayment()
S
58 2 16
registerPixPoolingScript()
S
60 2 14
__construct()
S
50 1 28
checkPixPaymentStatus()
S
61 2 12
getPaymentFieldsParams()
S
56 1 18
formFields()
S
74 2 5
validateNonce()
S
67 2 7
getOrderFromRequest()
S
65 2 9
getPaymentIdFromOrder()
S
66 2 8
getCheckoutName()
S
81 1 3
formFieldsMainSection()
S
81 1 3
sellerHavePix()
S
80 1 3
payment_fields()
S
73 1 6
registerApprovedPaymentStyles()
S
73 1 6
renderPixPaymentApprovedTemplate()
S
66 1 10
handlePendingPayment()
S
71 1 6
handleOtherStatus()
S
71 1 6